$("#modifyForm").on("submit", function () {
  const formData = $(this).serialize();
  $.ajax({
    type: 'put',
    url: '/users/password',
    data: formData,
    success: function () {
      location.href = 'login.html'
    }
  })
  return false;
})